<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>账号或密码输入错误</title>
    <script>
        function countDown(){
            //获取初始时间
            var time = document.getElementById("Time");

            //获取到id为time标签中的数字时间
            if(time.innerHTML == 0){
                //等于0时清除计时，并跳转该指定页面
                window.location.href="/login.html";
            }else{
                time.innerHTML = time.innerHTML-1;
            }
        }
        //1000毫秒调用一次
        window.setInterval("countDown()",1000);
    </script>
    <style>
        #Time,#p{
            font-size: 100px;
            text-align: center;
        }
        #Font,#p{
            font-size: 100%px;
            text-align: center;
        }
    </style>
</head>
<body>
<font color="yellow"><p id="Time" >3</p></font>
<p id="Font">账号或密码输入错误,3s后将跳转至登录页面</p>
</body>
</html>